a collection of documents relating to compilers, make, and cshell
This article shows how to get started with the Tools.h++ collection and utility classes available in the Irix 6.2 compile configuration, including the ANSI Class library support via Tools.h++. This is a draft article to be published later in Dev News.
C++ exception handling is a new feature that has been recently added to the Metrowerks C++ environment (and soon available with the Symantec C++ environment as well). Earlier various frameworks provided macros and various capabilities that emulated to some degree exception handling including emulating the syntax and semantics defined in the Annotated C++ Reference manual (MacApp, TCL, PowerPlant) using setjmp/longjmp and similar techniques. The Annotated C++ Reference Manual, Ellis & Stroustrup, is by the way the reference that C++ programmers should use, and the future ANSI C++ reference will most likely take over the role as the rule book for portable C++ code.C++ exception handling has not been widely available to Macintosh programmers until now. Most of the C++ literature dealing with exception handling tend to be more academical in nature versus showing how exception handling could be used in real life programming exercises. This article will attempt to provide simple examples to get you started with using exception handling in C++ programming work for Macintosh applications.
from the Introduction:The purpose of this document is to define one style of programming in C++. The rules and recommendations presented here at not final, but should serve as a basis for continued work with C++. This collection of rules should be seen as a dynamic document; suggestions for improvements are encouraged. A form for requesting new rules or changes to rules has been included as an appendix to this document. Suggestions can also be made via e-mail to one of the following addresses: erik.nyquist@eua.ericsson.se mats.henricson@eua.ericsson.se
A set of slides providing documentation on the files /usr/include/make/commondefs,commonrules}, and topics including
- Compiler and Loader option flags,
- Flag Defaults,
- Flag Overrides,
- Tool Abbreviations,
- Combined Compiler macro name and flags,
- Other macros,
- Other Features,
- Makefile Structure,
- Overriding the default rules,
This manual presents the conventions for all Makefiles in the SGI source tree. It assumes the reader knows how to construct a Makefile. It also assumes the commondefs and commonrules files (make include files developed at SGI) will be used to simplify Makefile construction.
[+]